<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<p id="p1">如果你点我，我就会消失。</p>
		<p id="p2">继续点我!</p>
		<p id="p3">接着点我!</p>
	</body>
	<script>
		var p1 = document.getElementById('p1');
		var p2 = document.getElementById('p2');
		var p3 = document.getElementById('p3');
		p1.onclick = function(){
			this.style.display = "none"
		}
		p2.onclick = function(){
			this.style.display = "none"
		}
		p3.onclick = function(){
			this.style.display = "none"
		}
	</script>

</html>
